<script setup lang="ts">

import {useHeaderLintContent} from "../hooks/useHeaderLintContent.ts";

const img = 'src/components/assets/headerlint.png'

const {imgUrl, textTitle, textContent} = useHeaderLintContent()
</script>

<template>
  <div class="header-line-box">
    <div class="header-top">
      <el-image class="header-png" :src="img"/>
      <el-text class="header-text">头条</el-text>
    </div>
    <div class="img-box">
      <el-image class="img-cover" :src="imgUrl"/>
    </div>
    <div class="text-box">
      <div class="text-margin">
        <el-text class="text-title">
          <a href="#"> {{ textTitle }}</a>
        </el-text>
      </div>
      <div class="text-margin">
        <el-text class="text-content">
          <a href="#"> {{ textContent }}</a>
        </el-text>
      </div>

    </div>
  </div>
</template>

<style scoped lang="scss">
@import "style/HeaderLine";
</style>